home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d2
/
recnfg21.arc
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1990-01-07
|
2KB
|
75 lines
echo off
cls
echo .
echo . RECONFIG 2.1 Installation
echo .
echo .
if "%1"=="" goto nodir1
echo . Installing Reconfig 2.1 to c:\%1
goto common1
:nodir1
echo . Installing Reconfig 2.1 to c:\reconfig
:common1
echo .
echo . Please wait...copying files...
echo .
if not exist reconfig.pgm goto fail
echo echo off >c:\reconfig.bat
echo c: >>c:\reconfig.bat
if "%1"=="" goto nodir2
if not exist c:\%1\*.* md c:\%1
copy readme c:\%1\*.* >nul
copy reconfig.pgm c:\%1\reconfig.exe >nul
copy reboot.com c:\%1\*.* >nul
echo cd \%1 >>c:\reconfig.bat
c:
cd \%1
goto common2
:nodir2
if not exist c:\reconfig\*.* md c:\reconfig
copy readme c:\reconfig\*.* >nul
copy reconfig.pgm c:\reconfig\reconfig.exe >nul
copy reboot.com c:\reconfig\*.* >nul
echo cd \reconfig >>c:\reconfig.bat
c:
cd \reconfig
:common2
echo reconfig %%1 %%2 >>c:\reconfig.bat
echo cd \ >>c:\reconfig.bat
if not exist reconfig.dbf reconfig
cd \
echo .
echo . Reconfig 2.1 has been installed...
echo .
echo . Type RECONFIG to run it...
echo .
goto end
:fail
cls
echo .
echo . Reconfig installation ABORTED...
echo .
echo . Note: It is important NOT to initiate INSTALL from a different
echo . drive than which it resides. For example, if INSTALL is
echo . on drive A, do NOT start it up by entering:
echo . A:INSTALL
echo . Instead, start up the installation process by doing this:
echo . A:
echo . INSTALL
echo .
:end